package vip.zhenzicheng.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import vip.zhenzicheng.service.OrderService;

/**
 * @author zhenzicheng
 * @date 2023-02-23 19:15
 */
@RestController
public class OrderController {
  @Autowired
  private OrderService orderService;

  @GetMapping("/createOrder")
  public String createOrder() {
    // return orderService.createOrder();
    return orderService.createOrderByDubbo();
  }
}
